/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cf.controller;

import com.cf.dao.impl.TbPlantillaDao;
import com.cf.modelo.TbPlantilla;
import java.io.Serializable;
import java.util.List;
import javax.faces.bean.ManagedBean;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 *
 * @author Soltecn2
 */
@Component("tbPlantillaController")
@Scope
@ManagedBean
public class TbPlantillaController implements Serializable{
    
    private List<TbPlantilla>listPlantilla;

    public List<TbPlantilla> getListPlantilla() {
        listPlantilla=TbPlantillaDao.listTarea();
        return listPlantilla;
    }

    public void setListPlantilla(List<TbPlantilla> listPlantilla) {
        this.listPlantilla = listPlantilla;
    }
    
    
    
    
}
